package com.jbpm.wf.action;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import com.jbpm.action.BaseAction;
import com.jbpm.wf.model.WfDeployTask;
@Component("wfDeployTaskAction")
@Scope("prototype")
public class WfDeployTaskAction extends BaseAction {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6346309868448646724L;
	private WfDeployTask wfDeployTask=new WfDeployTask();
	@Override
	public Object getModel() {
		// TODO Auto-generated method stub
//		String idValue=request.getParameter("id");
//		WfDeployement wfDeploy=((WfDeployTask)pcManagerTemplate.getEntityByHql(" from WfDeployTask where id='"+idValue+"'")).getWfDeployment();
//		wfDeploy.getId();
//		wfDeployTask.setWfDeployment(wfDeploy);
		return wfDeployTask;
	}

}
